/*
 *  This file is part of WWWPal.
 *
 *  Copyright (C) 2003  Dr. John Punin, Department of Computer Science
 *  Rensselaer Polytechnic Institute
 *
 *  WWWPal is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  WWWPal is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Foobar; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */


int
report_map_site(mainFrame *mf, tgrFrame *tgf, char *name_file, struct pt *r,
		int list,int simple,int no_class_edges);
int
write_body_file_map(mainFrame *mf, tgrFrame *tgf,FILE *fp,struct pt *r,
		    int list, int simple, int no_class_edges);
void
print_node_info(FILE *fp,struct pt *v, PEDGE e);
void 
visit_nodes_by_DFS(tgrFrame *tgf, struct pt *v,PEDGE e, FILE *fp, int simple);

int
visit_nodes_by_DFS_table(tgrFrame *tgf, struct pt *v, PEDGE e, FILE *fp, int what, int level,int simple);

char *
change_end_name(char *s, char *e1, char *e2);

char *
title_from_root(tgrFrame *tgf, struct pt *r);


void
print_simple_node_info(FILE *fp, struct pt *v);

void
report_hierarchical_tree(tgrFrame *tgf, char *filename,PNODE v);


